package com.mycompany.crm.service;

import com.mycompany.crm.base.BaseMapper;
import com.mycompany.crm.query.CusDevPlanQuery;
import com.mycompany.crm.vo.CusDevPlan;

import java.util.Map;

/**
 * 客户开发计划业务层
 * @author jy
 * @version 1.0
 * @date 2022/1/14 15:58
 */
public interface CusDevPlanService extends BaseMapper<CusDevPlan,Integer> {

    /**
     * 多条件分页查询客户开发计划
     * @param cusDevPlanQuery
     * @return
     */
    Map<String,Object> queryCusDevPlanByParams(CusDevPlanQuery cusDevPlanQuery);


    /**
     * 添加计划项
     * @param cusDevPlan
     */
    void addCusDevPlan(CusDevPlan cusDevPlan);

    /**
     * 修改计划项
     * @param cusDevPlan
     */
    void updateCusDevPlanParams(CusDevPlan cusDevPlan);

    /**
     * 删除计划项
     * @param id
     */
    void deleteCusDevPlan(Integer id);
}
